export default {
  height:'auto',
  calcHeight: 30,
  tip: false,
  searchShow: true,
  searchMenuSpan: 6,
  border: true,
  index: true,
  viewBtn: true,
  selection: true,
  dialogClickModal: false,
  column: [
    {
      label: "主键",
      prop: "id",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "时间",
      prop: "clueDate",
      type: "date",
      align: "center",
      format: "YYYY-MM-DD",
      valueFormat: "YYYY-MM-DD",
      span: 24,
      search: true,
    },
    {
      label: "小红书号",
      prop: "redbookAccount",
      align: "center",
      type: "input",
      width: 100,
      span: 24,
      search: true,
    },
    {
      label: "用户昵称",
      prop: "clueAccount",
      align: "center",
      type: "input",
      width: 100,
      span: 24,
      search: false,
    },
    {
      label: "地区",
      prop: "clueArea",
      align: "center",
      type: "input",
      span: 24,
      search: true,
    },
    {
      label: "城市",
      prop: "clueCity",
      align: "center",
      type: "input",
      span: 24,
      search: true,
    },
    {
      label: "线索标签",
      prop: "clueLabels",
      type: "input",
      align: "center",
      width: 100,
      span: 24,
      search: false,
    },
    {
      label: "电话号码",
      prop: "cluePhone",
      type: "input",
      span: 24,
      align: "center",
      width: 120,
      search: true,
      rules: [{
        required: true,
        message: "请输入电话号码",
        trigger: "blur"
      }],
    },
    {
      label: "微信号",
      prop: "clueWx",
      type: "input",
      align: "center",
      span: 24,
      search: false,
    },
    {
      label: "备注",
      prop: "remark",
      type: "input",
      align: "center",
      span: 24,
      search: false,
    },
    {
      label: "是否自动识别",
      prop: "autoIdentify",
      type: "input",
      align: "center",
      span: 24,
      width: 120,
      search: false,
    },
    {
      label: "标注客服",
      prop: "labelCustomer",
      type: "input",
      align: "center",
      span: 24,
      width: 100,
      search: false,
    },
    {
      label: "投放账户",
      prop: "investmentAccount",
      type: "input",
      align: "center",
      span: 24,
      width: 100,
      search: false,
    },
    {
      label: "是否留资",
      prop: "retainCapital",
      type: "input",
      align: "center",
      span: 24,
      width: 100,
      search: true,
    },
    {
      label: "笔记链接",
      prop: "noteUrl",
      type: "input",
      span: 24,
      width: 100,
      search: false,
    },
    // {
    //   label: "渠道来源",
    //   prop: "clueChannel",
    //   type: "select",
    //   dicUrl: "/blade-system/dict-biz/dictionary?code=channel_type",
    //   dataType: "string",
    //   props: {
    //     label: "dictValue",
    //     value: "dictKey"
    //   },
    //   span: 24,
    //   search: true
    // },
    {
      label: "客户姓名",
      prop: "clueUsername",
      type: "input",
      align: "center",
      width: 100,
      span: 24,
      search: true,
      rules: [{
        required: true,
        message: "请输入客户姓名",
        trigger: "blur"
      }],
    },
    {
      label: "性别",
      prop: "clueSex",
      type: "select",
      align: "center",
      width: 60,
      dicUrl: "/blade-system/dict/dictionary?code=sex",
      dataType: "number",
      props: {
        label: "dictValue",
        value: "dictKey"
      },
      span: 24,
      search: false,
    },
    {
      label: "意向车系",
      prop: "intendedSeries",
      type: "select",
      align: "center",
      width: 100,
      dicUrl: "/blade-system/dict-biz/dictionary?code=vehicle_series",
      dataType: "number",
      props: {
        label: "dictValue",
        value: "dictKey"
      },
      span: 24,
      search: true
    },
    {
      label: "意向车型",
      prop: "intendedModel",
      width: 100,
      align: "center",
      type: "input",
    },
    {
      label: "意向代理商",
      prop: "intendedAgent",
      align: "center",
      type: "input",
      width: 120,
      span: 24,
      search: false
    },
    {
      label: "对应运营人",
      prop: "operatorId",
      align: "center",
      type: "select",
      width: 120,
      search: true,
      span: 24,
      dicUrl: "/blade-system/user/user-list?deptId=1746830243086417922",
      dataType: "string",
      props: {
        label: "name",
        value: "id"
      },
      rules: [{
        required: false,
        message: "请选择运营人ID",
        trigger: "blur"
      }],
    },
    {
      label: "对应门店账号",
      prop: "accountId",
      align: "center",
      type: "select",
      width: 160,
      search: true,
      dicUrl: "/blade-account/account/listByOperator",
      dataType: "string",
      props: {
        label: "accountName",
        value: "id"
      },
      rules: [{
        required: false,
        message: "请选择对应门店账号",
        trigger: "blur"
      }],
    },
    {
      label: "创建人",
      prop: "createUser",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "创建部门",
      prop: "createDept",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "创建时间",
      prop: "createTime",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "修改人",
      prop: "updateUser",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "修改时间",
      prop: "updateTime",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "状态",
      prop: "status",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "是否已删除",
      prop: "isDeleted",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
  ]
}
